import request from '@/utils/request'

// 查询BussinessContract列表
export function listcontractmanadge(query) {
  return request({
    url: '/BussinessContract/contractmanadge/list',
    method: 'get',
    params: query
  })
}

// 查询BussinessContract详细
export function getcontractmanadge(contractId) {
  return request({
    url: '/BussinessContract/contractmanadge/' + contractId,
    method: 'get'
  })
}

// 新增BussinessContract
export function addcontractmanadge(data) {
  return request({
    url: '/BussinessContract/contractmanadge',
    method: 'post',
    data: data
  })
}

// 修改BussinessContract
export function updatecontractmanadge(data) {
  return request({
    url: '/BussinessContract/contractmanadge',
    method: 'put',
    data: data
  })
}

// 删除BussinessContract
export function delcontractmanadge(contractId) {
  return request({
    url: '/BussinessContract/contractmanadge/' + contractId,
    method: 'delete'
  })
}
